home *** CD-ROM | disk | FTP | other *** search
/ The Original Shareware 1.1 / The Original Shareware (WeMake CDs)(Volume 1.1)(CDs, Inc)(1993).iso / 23 / cputimer.zip / CPU2.DOC < prev   
Text File  |  1986-03-05  |  4KB  |  87 lines

  1. CPU2.ASM - 8086/8088/V20/V30 speed check/benchmark program
  2.          - 01/07/86 - Stephen R. Davis, Kim Levitt
  3.  
  4. -->>> CPU2.ASM is an adaptation by Kim Levitt of an assembly langauge
  5. program that was modified by Stephen Davis, combined with a Sieve of
  6. Eratosthenes benchmark also listed by Stephen R. Davis in his article
  7. "Turbo Charge Your 8086/8088 Computer" that was published in two parts
  8. in the Nov/Dec'85 and Jan/Feb'86 issues of Micro/Systems Journal. *
  9.  
  10. The speed check/benchmarks will run on any 8086/8088 or V20/V30 based
  11. microcomputer running under MS-DOS. (It may run under CP/M-86 and/or
  12. Turbo-DOS also, but not sure.)
  13.  
  14. It will display the number of seconds taken to execute a "mixed
  15. instruction set" in a repeat loop, and compute the relative "clock
  16. speed" of your system as compared to the standard 4.77 Mhz of the
  17. standard IBM-PC. The Sieve of Eratosthenes benchmark is included
  18. also as it is a favorite used in benchmark comparisons between
  19. different computers. The number of seconds taken to complete ten
  20. repetitions is displayed. This program can be used to demonstrate
  21. the relative performance of a particular machine or to document the
  22. increase in performance gained by upgrading from a 8086/8088 to a
  23. V20/V30 chip. It does NOT use any of the special 80186/80286/V20/V30
  24. instructions and so will run on a normal 8088 or 8086 just fine.
  25.  
  26. * (The article is about using a NEC uPD70108 (V20) or uPD70116 (V30)
  27. microprocessor in your 8088/8086 or compatible instead of the
  28. Intel 8088 or 8086 to speed up the relative performance of your
  29. computer without increasing your system's clock speed or adding a
  30. coprocessor or replacement motherboard. I added a V30 to my AT&T
  31. PC 6300 and have anywhere from 25% to 100% faster performance, and
  32. it only cost me about $20! Not only that, but with the V20-80.COM
  33. program (in the public (freeware) domain) you can run CP/M-80 software
  34. on your MS-DOS system!!) I HIGHLY recommend you swap your Intel chip
  35. for the new NEC super chip, ESPECIALLY if you have a 8086 (true 16-bit).
  36.  
  37.                         -- Notes/update by Kim Levitt
  38.                            sysop, MBBS Headquarters PDSE
  39.                            (213) 653-6398 (300/1200/2400 baud)
  40.  
  41. SAMPLE RUN (ON AT&T PC 6300 WITH V30 8 MHZ):
  42.  
  43. C:\>CPU2
  44.  
  45. CPU2: SPEED CHECKER/BENCHMARK PROGRAM
  46. 01/07/86 -- Stephen R. Davis, Kim Levitt
  47.  
  48. BENCHMARK #1: - Mixed Instruction Repetition
  49.  
  50.   Please wait...
  51.  
  52.   Execution time is 10.00 secs on a 4.77 Mhz 8088
  53.     with no waits on RAM access.
  54.  
  55.   Actual execution time here = 03.90 seconds.
  56.   Effective 8088 clock speed = 12.23 Mhz
  57.  
  58. BENCHMARK #2 - Sieve of Eratosthenes, 10 reps
  59.  
  60.   Please wait...
  61.  
  62.   Execution time is 3.68 secs on a 4.77 Mhz 8088
  63.     with no waits on RAM access.
  64.  
  65.   Actual execution time here = 01.60 seconds.
  66.  
  67. C:\>
  68.  
  69. V20/V30 BENCHMARK COMPARISONS USING NORTON UTILITIES "SYSINFO.COM" (v3.0)
  70.       AND "CPU2.COM" BENCHMARK PROGRAMS -- 01/07/86 -- Kim Levitt
  71.  
  72.           IBM PC 8088 4.77 MHZ       IBM PC V20 4.77 MHZ
  73.  
  74. NORTON SYSINFO - 1.00                      1.70         (70.0% INCREASE)
  75.        CPU2 #1 - 10 - 4.77                 9.5 - 5.02   (5.26% INCREASE)
  76.        CPU2 #2 - 3.68                      3.57         (3.08% INCREASE)
  77.  
  78.         AT&T PC 6300 8086 8 MHZ      AT&T PC 6300 V30 8 MHZ
  79.  
  80. NORTON SYSINFO - 1.90                      3.90         (105% INCREASE)
  81.        CPU2 #1 - 4.7 - 10.14               3.9 - 12.23  (20.51% INCREASE)
  82.        CPU2 #2 - 1.80                      1.60         (12.5% INCREASE)
  83.  
  84.        NORTON SYSINFO = "Performance factor relative to IBM-PC"
  85.               CPU2 #1 = Mixed Instruction repetition (secs - effective Mhz)
  86.               CPU2 #2 = Sieve of Erastosthenes, 10 reps (secs)
  87.